/*
 * The I piece.
 */

package tetris.model;

import java.awt.Color;

public class PieceO extends Piece{
    public PieceO(){
        super(1, Color.YELLOW);
        buildRotations();
    }

    private void buildRotations(){
        super.rotations[0] = new Rotation(new Coordinates(1, 0),    // O X
                                          new Coordinates(0, -1),   // X X
                                          new Coordinates(1, -1));

    }
}
